//
//  CGSize+Extensions.swift
//  RssFly
//
//  Created by shen on 2023/10/17.
//

import Foundation

extension CGSize {
    var area: CGFloat {
        width * height
    }

    func scaled(by scalingFactor: Double) -> CGSize {
        CGSize(width: width * scalingFactor, height: height * scalingFactor)
    }
}
